package model.VO
{
	import mx.collections.ArrayCollection;

	public class VOPath
	{
		/*********************************
		 *    Attributes
		 ********************************/
		[Embed("data/images/icons/icon3.png")]
		public static var ICON:Class;
		
		[Bindable]
		public var icon:Class;
		
		[Bindable]
		public var label:String;
		
		[Bindable]
		public var children:ArrayCollection;
		
		private var _name:String;
		
		
		public function get name():String
		{
			return _name;
		}
		
		public function set name(value:String):void
		{
			_name = value;
		}
		
		public function VOPath(name:String)
		{
			_name =  name;
			
			// set visual properties
			label = name;
			icon = ICON;
		}
	}
}